/**
 * Created by liuchaol on 2019/05/09.
 */
import {high} from 'nc-lightapp-front';
import Refer from 'src/hrpub/common/components/AttendStaffRefer/index.js';

export default function (props = {}) {
    var conf = {
        multiLang: {domainName: 'hrkq', currentLocale: 'zh-CN', moduleId: 'refer6065'},
        refType: 'grid',
        refName: 'i6065-000016',/* 国际化处理： 班次*/
        placeholder: 'i6065-000016',/* 国际化处理： 班次*/
        refCode: 'hrkq.refer.kqref.AttendStaffGridRef',
        queryGridUrl: '/nccloud/hrkq/ref/AttendStaffGridRef.do',
        columnConfig: [{
            name: [ 'i6065-000009', 'i6065-000010','i6065-000011','i6065-000012','i6065-000013','i6065-000014','i6065-000015' ],/* 国际化处理： 人员编码,姓名,证件类型,证件号,组织,部门,岗位,是否主职*/
            code: [ 'staff_code', 'staff_name','org_name','dept_name' ,'main_job','ts_attend_staff.begindate','ts_attend_staff.enddate' ]
        }],/* 国际化处理：主键,编码,班次名称*/
        isMultiSelectedEnabled: true,
        isCacheable:false
    };

    return <Refer {...Object.assign(conf, props)} />
}


